<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html>
<head>
    <!-- Standard Meta -->
    <title>用户中心</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <!-- Site Properties -->
    <link rel="stylesheet" type="text/css" href="${ctx}/static/javascript/semantic/2.1/semantic.min.css">
    <script src="${ctx}/static/javascript/jquery/2.1.4/jquery.min.js"></script>
    <script src="${ctx}/static/javascript/semantic/2.1/semantic.min.js"></script>
    <sitemesh:write property='head'/>
</head>
<body>
<div class="ui sidebar inverted vertical menu left uncover visible">
   <div class="item">
	  <a class="ui logo icon image">
	    <img src="${ctx}/static/image/user.png">
	  </a>
	  <a><b>你好，<shiro:principal property="loginName"/> </b></a>
	  &nbsp;<a href="${ctx}/user/logout">[退出]</a>
	</div>
    <a class="item"><i class="home icon"></i> 首页 </a>
    <a class="item"><i class="block layout icon"></i> 主题 </a>
    <a class="item"><i class="smile icon"></i> 朋友 </a>
    <a class="item"><i class="calendar icon"></i> 历史 </a>
  </div>

<div class="pusher" style="padding: 10px 270px 10px 10px;">
    <sitemesh:write property='body'/>
</div>
</body>
</html>

